<template>
  <div>
    <el-menu
        style="width: 210px; min-height: calc(100vh - 50px)"
        :default-active="$route.path"
        router
        default-active="1">
      <el-menu-item
          style="width: 200px; padding-left: 40px; font-weight: bold; " index="/admin/user">
        <span slot="title">用户管理</span>
      </el-menu-item>
      <el-menu-item
          style="width: 200px; padding-left: 40px; font-weight: bold; " index="/admin/article" >
        <span slot="title">文章管理</span>
      </el-menu-item>
      <el-menu-item
          style="width: 200px; padding-left: 40px; font-weight: bold; " index="/admin/comment">
        <span slot="title">评论管理</span>
      </el-menu-item>
      <el-menu-item
          style="width: 200px; padding-left: 40px; font-weight: bold; " index="/admin/pic">
<!--        <span slot="title">图片显示测试</span>-->
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>

export default {
  name: "Aside",
  data() {
    return {
    }
  }
}
</script>

<style scoped>

</style>
